<template>
  <el-button-group class="el-field-group-button">
    <ed-dialog-button
      class="el-field-group-button-fields"
    >
      <ed-form-fields
        v-bind="$attrs"
        v-on="$listeners"
        :no-label="true"
      />
    </ed-dialog-button>
    <slot />
  </el-button-group>
</template>

<script>
import EdDialogButton from '../EdDialogButton'
import EdFormFields from './EdFormFields'

export default {
  props: {
    // :fields, :value, @change
  },
  components: {
    EdFormFields,
    EdDialogButton
  }
}
</script>

<style scoped>
  .el-field-group-button {

  }
</style>
